package com.wicket.okrframework.base.service;

import com.wicket.okrframework.base.service.dto.req.BatchQueryPowerListReq;
import com.wicket.okrframework.base.service.dto.req.DeletePowerReq;
import com.wicket.okrframework.base.service.dto.req.QueryPowerDetailReq;
import com.wicket.okrframework.base.service.dto.req.QueryPowerListReq;
import com.wicket.okrframework.dal.po.mbg.Privacy;

import java.util.List;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
public interface MPrivacyService {
    /**
   * 1-2-11批量查询权限列表
   */
    List<Privacy> batchQueryPowerList(BatchQueryPowerListReq reqDto);

    /**
   * 1-2-11查询权限列表
   */
    List<Privacy> queryPowerList(QueryPowerListReq reqDto);

    /**
   * 1-2-11查询权限详情
   */
    Privacy queryPowerDetail(QueryPowerDetailReq reqDto);

    /**
   * 1-2-11删除权限
   */
    boolean deletePower(String privacyId );

    /**
   * 1-2-11修改权限
   */
    boolean updatePower(Privacy privacy);

    /**
   * 1-2-11新增权限
   */
    String addPower(Privacy privacy);
    //
}
